package com.mask.lego.product.feign;

import com.mask.lego.common.to.es.SkuEsModel;
import com.mask.lego.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author hx
 * @since 2021/12/9 4:17 下午
 */

@FeignClient("mall-search")
public interface SearchFeignService {

    @PostMapping("/search/save/product")
    public R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);
}
